#ifndef MYPUSHBUTTON_H
#define MYPUSHBUTTON_H
#include <QPushButton>

#include <QWidget>

class MyPushButton : public QPushButton
{
    Q_OBJECT
public:
    explicit MyPushButton(QPushButton *parent = nullptr);

    //normarImg表示正常显示的图片  pressImg按下后显示的图片
    MyPushButton(QString normarImg,QString pressImg="");

    QString normalImgPath;
    QString pressImgPath;

    void zoom1();
    void zoom2();

    void mousePressEvent(QMouseEvent *);
    void mouseReleaseEvent(QMouseEvent *);


signals:
};

#endif // MYPUSHBUTTON_H
